#include <gdk-pixbuf/gdk-pixbuf.h>
#include <cairo-gobject.h>
+#include "gtkcssproviderprivate.h"
+
#include "gtkanimationdescription.h"
#include "gtk9slice.h"
#include "gtkgradient.h"
#include "gtkthemingengine.h"
#include "gtkstyleprovider.h"
-#include "gtkcssprovider.h"
#include "gtkstylecontextprivate.h"
#include "gtkprivate.h"
return provider;
}
-static gchar *
-css_provider_get_theme_dir (void)
+gchar *
+_gtk_css_provider_get_theme_dir (void)
{
const gchar *var;
gchar *path;
if (!path)
{
- gchar *theme_dir = css_provider_get_theme_dir ();
+ gchar *theme_dir = _gtk_css_provider_get_theme_dir ();
path = g_build_filename (theme_dir, name, subpath, NULL);
g_free (theme_dir);
--- /dev/null
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_CSS_PROVIDER_PRIVATE_H__
+#define __GTK_CSS_PROVIDER_PRIVATE_H__
+
+#include "gtkcssprovider.h"
+
+G_BEGIN_DECLS
+
+gchar *_gtk_css_provider_get_theme_dir (void);
+
+G_END_DECLS
+
+#endif /* __GTK_CSS_PROVIDER_PRIVATE_H__ */